local unitDefs = {

C_COM = {
  name                = "Large Construction Vehicle",
  description         = "Constructs Medium and Large Buildings",
  
  objectName          = "c_com.s3o",
  script              = "c_com.cob",
  buildPic            = "c_com.png",
  iconType            = "vehicle",  
  category            = [[LAND TANK NOWEAPON CTRL_B WEAK_ARMOR]],  --LEVEL1 NOTAIR
  TEDClass            = "TANK", 
  movementClass       = "TANK3a",
  
  -- Cost
  buildCostMetal      = 200,  
  buildCostEnergy     = 0,
  buildTime           = 2000,  --2500,
  --mass                = 200,    

  -- Resources
  metalMake           = 0.5,  
  metalStorage        = 100,
	
  -- Construction
  builder             = true,
  workerTime          = 500, --50,  
  buildDistance       = 240,	
  buildoptions = {
    "c_factory",
    "c_shipyard",
    "c_metalrecycler",
  },	
	
  -- Damage
  maxDamage           = 1000,
  idleAutoHeal        = 5,
  idleTime            = 900,
  
  -- Movement and Pathfinding
  footprintX          = 3,
  footprintZ          = 3,  
  maxVelocity         = 2,
  acceleration        = 0.05,
  brakeRate           = 0.05,
  turnRate            = 500,
  turnInPlace         = true,  
  maxSlope            = 30,
  --maxWaterDepth       = 15,

  -- Tracks
  leaveTracks         = true,  
  trackOffset         = 3,
  trackStrength       = 6,
  trackStretch        = 1,
  trackType           = "StdTank",
  trackWidth          = 32,

  -- Abilities
  canMove             = true,  
  canAttack           = false,
  canGuard            = true,
  canPatrol           = true,

  -- Detection  
  sightDistance       = 400,
  seismicSignature    = 0,  

  -- Weapons
  explodeAs           = "UNIT_EXPLOSION_SMALL1",  
  selfDestructAs      = "UNIT_SELFD_SMALL1", 
  noChaseCategory     = [[BUILDING TANK SHIP SUB PLANE HELICOPTER]],  

  weapons = {
    [1] = "C_MACHINEGUN",
  },
  
  sfxtypes = {},  

  customParams = {
    wreckModels = { "c_com_dead.3do", "c_com_dead.3do" },
    heapModels = { "3x3d.3do" },

	  soundCategory = "VEHICLE1",
  
	  armorThickness = 50,
	
	  lightDamageChance = 0.2,	
	  mediumDamageChance = 0.4,
	  heavyDamageChance = 0.4,
  },
},
}

return lowerkeys(unitDefs)